Skip to content

Add the new preferred-text-scale env variable #26923

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
captainbrosset opened this issue May 28, 2025 · 1 comment
Open

Add the new preferred-text-scale env variable #26923

captainbrosset opened this issue May 28, 2025 · 1 comment
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS p3 Medium priority – Community PRs encouraged.

Comments

@captainbrosset
Copy link
Contributor

What type of issue is this?

Missing compatibility data

What information was incorrect, unhelpful, or incomplete?

See https://chromestatus.com/feature/5328467685801984
And https://drafts.csswg.org/css-env-1/#text-zoom

The preferred-text-scale CSS environment variable exposes a user's preferred font scale to CSS.
This new CSS env variable is shipping in Chromium 138.

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79+, Opera, Samsung Internet)

What did you expect to see?

New compat data in https://github.com/mdn/browser-compat-data/blob/main/css/types/env.json

Did you test this? If so, how?

N/A

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

No response

MDN metadata

No response

@captainbrosset captainbrosset added the needs triage This issue needs to be confirmed label May 28, 2025
@queengooborg queengooborg added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label May 29, 2025
@caugner
Copy link
Contributor

caugner commented May 30, 2025

According to https://chromestatus.com/feature/5328467685801984, this only ships in Chrome Android, but neither the implementing commit nor the shipping commit mention this restriction, so it probably ships in Desktop as well.

@captainbrosset Can you confirm?

@caugner caugner added p3 Medium priority – Community PRs encouraged. and removed needs triage This issue needs to be confirmed labels May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS p3 Medium priority – Community PRs encouraged.
Projects
None yet
Development

No branches or pull requests

3 participants